package com.yeyks.commonReference.append.mongodb.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author: dagny
 * @date: 2019/11/28 0028 11:25
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "coupon_push")
public class CouponPushMongoEntity {

    @Id
    /**
     * 用户ID
     */
    private String userId;
    /**
     * 手机号
     */
    private String phone;
}
